<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>${title} - 人参生态质控与溯源系统</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script>
    <style>
        :root {
            --custom-brown: #68430a;
        }

        body {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
        .wrapper {
            display: flex;
            flex: 1;
            position: relative;
        }
        .sidebar {
            width: 250px;
            min-width: 250px;
            background-color: #f8f9fa;
            padding: 20px;
            border-right: 1px solid #dee2e6;
            height: calc(100vh - 56px);
            position: sticky;
            top: 56px;
        }
        .main-content {
            flex: 1;
            padding: 20px;
            min-width: 0;
            overflow-x: auto;
        }
        .nav-link {
            color: #333;
            padding: 10px 15px;
            margin-bottom: 5px;
        }
        .nav-link:hover {
            background-color: #e9ecef;
            color: #333;
        }
        .nav-link.active {
            background-color: #e9ecef;
            color: #333;
            border-radius: 5px;
        }
        .card {
            margin-bottom: 20px;
        }
        .login-container {
            max-width: 400px;
            margin: 100px auto;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            border-radius: 5px;
        }
        .error-message {
            color: #dc3545;
            margin-bottom: 15px;
        }

        /* 保留导航栏和按钮的自定义样式 */
        .bg-custom-brown {
            background-color: var(--custom-brown) !important;
        }
        .navbar-dark .navbar-nav .nav-link,
        .navbar-dark .navbar-brand {
            color: white;
        }
        .btn-custom-brown {
            background-color: var(--custom-brown);
            border-color: var(--custom-brown);
            color: white;
        }
        .btn-custom-brown:hover {
            background-color: #5a3c08;
            border-color: #5a3c08;
            color: white;
        }
        .btn-outline-custom-brown {
            color: var(--custom-brown);
            border-color: var(--custom-brown);
            background-color: transparent;
        }
        .btn-outline-custom-brown:hover {
            color: white;
            background-color: var(--custom-brown);
            border-color: var(--custom-brown);
        }
        .text-custom-brown {
            color: var(--custom-brown) !important;
        }
    </style>
</head>
<body>
<%@ include file="../common/top_navbar.jsp" %>
<div class="wrapper">
    <div class="sidebar">
        <%@ include file="../common/left_sidebar.jsp" %>
    </div>
    <div class="main-content">
<%--这里就是未闭合才能显示，，，不懂但照做！不要闭合！ ！ ！--%>
</body>
</html>
</html> 